package com.ztx.service.resource;

import java.util.List;

import com.ztx.pagemodel.SessionInfo;
import com.ztx.pagemodel.easyui.Tree;

public interface IResourceService {

	public static final String BEAN_ID = "resourceService";

	/**
	 * 获取资源树，资源类型为菜单
	 * 
	 * 通过用户ID判断该用户能看到的资源
	 * 
	 * @param sessionInfo
	 * @return
	 */
	public List<Tree> tree(SessionInfo sessionInfo);

}
